package com.edu.entity;

public class User {
	private int id;
	private String username;
	private String userpass;
	private String sex;
	private String phone;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpass() {
		return userpass;
	}
	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", userpass=" + userpass + ", sex=" + sex + ", phone=" + phone
				+ "]";
	}
	
	public User(int id, String username, String userpass, String sex, String phone) {
		super();
		this.id = id;
		this.username = username;
		this.userpass = userpass;
		this.sex = sex;
		this.phone = phone;
	}
	
	public User(String username, String userpass, String sex, String phone) {
		super();
		this.username = username;
		this.userpass = userpass;
		this.sex = sex;
		this.phone = phone;
	}
	
	public User() {
		super();
	}
	
}
